package com.webservice.xmloper.activeinfo;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("activeState")
public class ActiveState {
	
	/**
	 * IDC/ISP经营者ID
	 */
	private String idcId;
	
	/**
	 * 机房总数
	 */
	private Integer houseAmount;
	
	/**
	 * 机房状态
	 */
	@XStreamImplicit
	private List<HouseState> houseStates;
	
	/**
	 * 上报时间
	 */
	private String timeStamp;

	public ActiveState() {
		super();
	}

	public ActiveState(String idcId, Integer houseAmount,
			List<HouseState> houseStates, String timeStamp) {
		super();
		this.idcId = idcId;
		this.houseAmount = houseAmount;
		this.houseStates = houseStates;
		this.timeStamp = timeStamp;
	}

	public String getIdcId() {
		return idcId;
	}

	public void setIdcId(String idcId) {
		this.idcId = idcId;
	}

	public Integer getHouseAmount() {
		return houseAmount;
	}

	public void setHouseAmount(Integer houseAmount) {
		this.houseAmount = houseAmount;
	}

	public List<HouseState> getHouseStates() {
		return houseStates;
	}

	public void setHouseStates(List<HouseState> houseStates) {
		this.houseStates = houseStates;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

}
